<form enctype="multipart/form-data" id="convertForm" method="post" name="convertForm">
	<div class="form-group" id="divDate1" style="display:none">
	
		<div style="position: absolute;margin-top:6px; width: 100px;font-size: 16px;font-weight: bold;">
			<label class="control-label" style="font-size: 13px;"><span class="text-danger">*</span>规划年份</label>
		</div>
		<div class='input-group date' id='date1' style="width: 35%;margin-left: 20%;">
		    <input type='text' class="form-control" />
		    <span class="input-group-addon">
		        <span class="glyphicon glyphicon-calendar"></span>
		    </span>
		</div>
	
	</div>
	<div class="form-group" id="divBpaFile">
		<label class="control-label"><span class="text-danger">*</span>潮流文件</label>
		<input class="form-control input-sm" style="height: 35px;" type="file" id="bpa" accept=".dat" required name="bpa">
	</div>
	<div class="form-group" id="divSwiFile">
		<label class="control-label"><span class="text-danger">*</span>swi文件</label>
		<input class="form-control input-sm" style="height: 35px;" type="file" id="swi" accept=".swi" required name="swi">
	</div>
	<input type="hidden" name="type_1" id="type_1">
	<input type="hidden" name="type_2" id="type_2">
	<input type="hidden" name="versionid" id="versionid">
	<input type="hidden" name="versionidForC" id="versionidForC">
	<input type="hidden" name="beginDate" id="beginDate">
	<input type="hidden" name="endDate" id="endDate">
	<input type="hidden" name="iYear" id="iYear">
	<input type="hidden" name="geogMap" id="geogMap">
	<input type="hidden" name="ifGroup" id="ifGroup">
	<input type="hidden" name="firstGroup" id="firstGroup">
	<input type="hidden" name="secondGroup" id="secondGroup">
	<input type="hidden" name="projectid" id="projectid">
	<input type="hidden" name="fileName" id="fileName">
	<input type="hidden" name="bpaResultid" id="bpaResultid">
	<input type="hidden" name="fileNameSwi" id="fileNameSwi">
	<input type="hidden" name="fileNameDat" id="fileNameDat">
	<input type="hidden" name="from" id="from">
	<input type="hidden" name="operType" id="operType">
	<div class="form-group" id="divVoltValue" style="display:none">
		<label class="control-label"><span class="text-danger"></span>电压等级(大于0的整数,默认空为全电压等级)</label>
		<input type="text"   id="voltValue"onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" name="voltValue" class="form-control input-sm" maxlength="40" required="voltValue">
	</div>
	<div class="form-group" id="divPlan" style="display:none">
		<label class="control-label"><span class="text-danger">*</span></span>生成方案名称</label>
		<input type="text" id="planName" name="planName" class="form-control input-sm" maxlength="40" required="planName">
	</div>
	<div class="form-group" id="divChoosePlan" style="display:none">
		<label class="control-label" for="SelectPlanName"><span class="text-danger">*</span>选择生成方案</label>
		<select id="SelectPlanName"></select>
	</div>
	<div class="form-group" id="divParsePart" style="display:none">
		<label class="control-label"><span class="text-danger">*</span>选择解析分区</label>
		<input type="text" id="parsePart" name="parsePart" class="form-control input-sm" placeholder="例如：js,nj,j..." disabled="disabled">
	</div>
	<div class="form-group" id="divVoltGeog" style="display:none">
		<div style="height: 60px;width: 50%;display: inline-block;">
			<label class="control-label"><span class="text-danger">*</span>分电压简化</label>
			<select id="voltSimple" name="voltSimple" class="form-control" style="width: 150px;margin-left: 20px;">
				<option value="0">全量解析</option>
				<option value="500">500kV及以上</option>
				<option value="200">200kV及以上</option>
				<option value="100">100kV及以上</option>
			</select>
		</div>
		<div style="height: 60px;width: 50%;float: right;">
			<label class="control-label"><span class="text-danger">*</span>是否生成地理图</label>
			<div style="width: 100%;">
				<label class="checkbox-inline">
				    <input type="radio" name="geoMap" value="1"> 是
				 </label>
				 <label class="checkbox-inline">
				    <input type="radio" name="geoMap" value="0" checked> 否
				 </label>
			</div>
		</div>
	</div>
	<div class="form-group" id="divGenParams" style="display:none">
		<label class="control-label" style="display: inherit;"><span class="text-danger"></span>生成参数配置</label>
		<div style="border: 1px solid #ddd;height: 100px;width: 184px;display: inline-block;">
			<label class="control-label" style="font-weight: normal;margin: 5px;"><span class="text-danger">*</span>是否采用机组映射</label>
			<div style="width: 100%;">
				<label class="checkbox-inline">
				    <input type="radio" name="mapping" value="1" checked> 是
				 </label>
				 <label class="checkbox-inline">
				    <input type="radio" name="mapping" value="0"> 否
				 </label>
			</div>
			<label class="control-label" style="font-weight: normal;margin: 5px;">选择映射分组(优先)</label>
			<select id="firstMappGroup" style="width: 120px;margin-left: 30px;"></select>
		</div>
		<div style="height: 48px;width: 48px;display: inline-block;background-image: url(../images/tuiarrow.png);margin-bottom: 20px;">
		</div>
		<div style="border: 1px solid #ddd;height: 100px;width: 184px;float: right;">
			<label class="control-label" style="font-weight: normal;margin: 5px;"><span class="text-danger">*</span>机组类型映射(次优)</label>
			<select id="secondMappGroup" style="width: 120px;margin-left: 30px;"></select>
		</div>
	</div>
</form>
<div class="modal-footer">
	<button id="convertExcel" class="btn btn-primary btn-sm"><img id="imgLoad" src='../css/images/load3.gif' style="display: none; float: right;" /></button>
	<button type="button" id="closeDiv" class="btn btn-default btn-sm" data-dismiss="modal">关&nbsp;闭</button>
</div>